package com.elai.web.controller.common;


import com.elai.common.core.domain.AjaxResult;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;


import java.io.IOException;

@RestController
public class GatherController {

    private static final Logger log = LoggerFactory.getLogger(GatherController.class);

    @RequestMapping("/gather-api/send")
    public AjaxResult gatherSend(@RequestParam(value="data_list",required=false) String dataList
            ,@RequestParam(value="data",required=false) String data
            ,@RequestParam(value="gzip",required=false) String  gzip) throws IOException
    {
        log.info("data_list===:"+dataList);
        log.info("data===:"+data);
        log.info("gzip===:"+gzip);
        AjaxResult ajax = AjaxResult.success();


        return ajax;
    }
}
